package com.dave.admin.modular.boss.dto;

import java.util.List;

/**
 * 菜单节点
 */
public class MenuNode {

    /**
     * 前端显示的标题
     */
    private String title;
    /**
     * 前端对应的路由 name
     */
    private String key;
    /**
     * 前端对应的图标
     */
    private String icon;
    /**
     * 前端对应的字节点
     */
    private List<MenuNode> children;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public List<MenuNode> getChildren() {
        return children;
    }

    public void setChildren(List<MenuNode> children) {
        this.children = children;
    }
}
